<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册页面</title>
    <link rel="stylesheet" href="./css/bootstrap.min.css">
    <style>
        #account {
            width: 600px;
            margin: 50px auto 30px auto;
        }

        h2 {
            text-align: center;
            color: brown;
            margin-bottom: 80px;
        }

        #footer {
            /* background-color: gainsboro; */
            text-align: center;
            font-size: smaller;
        }
    </style>
</head>

<body>
    <!-- 页面头部 -->
    <div id="header">
        <nav class="navbar navbar-default">
            <div class="container-fluid">
                <!-- Brand and toggle get grouped for better mobile display -->
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                        data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <!-- <a class="navbar-brand" href="#">Brand</a> -->
                </div>

                <!-- Collect the nav links, forms, and other content for toggling -->
                <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                    <ul class="nav navbar-nav">
                        <li><a href="#">首页 <span class="sr-only">(current)</span></a></li>
                        <!-- <li><a href="#">Link</a></li> -->
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
                                aria-haspopup="true" aria-expanded="false">商品列表 <span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li><a href="#">生日蛋糕系列</a></li>
                                <li><a href="#">慕斯蛋糕系列</a></li>
                                <li><a href="#">甜点</a></li>
                                <!-- <li role="separator" class="divider"></li>
                                <li><a href="#">Separated link</a></li>
                                <li role="separator" class="divider"></li>
                                <li><a href="#">One more separated link</a></li> -->
                            </ul>
                        </li>
                        <li><a href="#">热销</a></li>
                        <li><a href="#">新品</a></li>
                        <li class="active"><a href="#">注册</a></li>
                        <li><a href="#">登录</a></li>
                    </ul>

                    <ul class="nav navbar-nav navbar-right">
                        <form class="navbar-form navbar-left">
                            <div class="form-group">
                                <input type="text" class="form-control" placeholder="商品名">
                            </div>
                            <button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search"
                                    aria-hidden="true"></span></button>
                            <button type="submit" class="btn btn-default"><span
                                    class="glyphicon glyphicon-shopping-cart" aria-hidden="true"></span></button>
                        </form>
                        <!-- <li><a href="#">Link</a></li>
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
                                aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li><a href="#">Action</a></li>
                                <li><a href="#">Another action</a></li>
                                <li><a href="#">Something else here</a></li>
                                <li role="separator" class="divider"></li>
                                <li><a href="#">Separated link</a></li>
                            </ul>
                        </li> -->
                    </ul>
                </div><!-- /.navbar-collapse -->
            </div><!-- /.container-fluid -->
        </nav>
    </div>

    <!-- 页面主体 -->
    <div id="account">
        <h2>新用户注册</h2>
        <form class="form-horizontal">
            <!-- 用户名组件 -->
            <div class="form-group">
                <label for="username" class="col-sm-2 control-label">用户名 <span
                        style="color: red; font-size: larger;">*</span></label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="username" placeholder="请输入用户名">
                </div>
            </div>
            <!-- 邮箱组件 -->
            <div class="form-group">
                <label for="email" class="col-sm-2 control-label">邮箱<span
                        style="color: red; font-size: larger;">*</span></label>
                <div class="col-sm-10">
                    <input type="email" class="form-control" id="email" placeholder="请输入邮箱">
                </div>
            </div>
            <!-- 密码组件 -->
            <div class="form-group">
                <label for="pwd" class="col-sm-2 control-label">密码<span
                        style="color: red; font-size: larger;">*</span></label>
                <div class="col-sm-10">
                    <input type="password" class="form-control" id="pwd" placeholder="请输入邮箱">
                </div>
            </div>

            <!-- 收件人组件 -->
            <div class="form-group">
                <label for="consignee" class="col-sm-2 control-label">收件人</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="consignee" placeholder="请输入收件人">
                </div>
            </div>

            <!-- 收件人电话组件 -->
            <div class="form-group">
                <label for="consigneetel" class="col-sm-2 control-label">收件人电话</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="consigneetel" placeholder="请输入收件人电话">
                </div>
            </div>

            <!-- 收件人地址组件 -->
            <div class="form-group">
                <label for="consigneeaddress" class="col-sm-2 control-label">收件人地址</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="consigneeaddress" placeholder="请输入收件人地址">
                </div>
            </div>
            <!-- <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <div class="checkbox">
                        <label>
                            <input type="checkbox"> Remember me
                        </label>
                    </div>
                </div>
            </div> -->
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-default">提交</button>
                </div>
            </div>
        </form>
    </div>

    <!-- 页面底部 -->
    <div id="footer">
        <div class="container">
            <p>网络工程蛋糕专卖店</p>
        </div>
    </div>

    <script src="./js/jquery.js"></script>
    <script src="./js/bootstrap.min.js"></script>
</body>

</html>